package generator.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 商品品牌表
 * @TableName t_brand
 */
@TableName(value ="t_brand")
@Data
public class Brand implements Serializable {
    /**
     * 品牌表Id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 首字母
     */
    @TableField(value = "first_letter")
    private String first_letter;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 是否为品牌制造商：0->不是；1->是
     */
    @TableField(value = "factory_status")
    private Integer factory_status;

    /**
     * 是否显示
     */
    @TableField(value = "show_status")
    private Integer show_status;

    /**
     * 产品数量
     */
    @TableField(value = "product_count")
    private Integer product_count;

    /**
     * 产品评论数量
     */
    @TableField(value = "product_comment_count")
    private Integer product_comment_count;

    /**
     * 品牌logo
     */
    @TableField(value = "logo")
    private String logo;

    /**
     * 专区大图
     */
    @TableField(value = "big_pic")
    private String big_pic;

    /**
     * 品牌故事
     */
    @TableField(value = "brand_story")
    private String brand_story;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}